
//构建处理记录
function buildProcessRecordList(records){
    var trHtml = new StringBuffer();
    if(records != null && records.length > 0){
        for (var i = 1; i < records.length; i++) {
            var item = records[i];
            trHtml.append('<tr>');
            trHtml.append('<td>' + CommUtil.setDefValue(item.curActName, "") + '</td>');
            trHtml.append('<td>' + CommUtil.setDefValue(item.createUname, "") + '</td>');
            trHtml.append('<td><span class="' + getAuditRecordFlagCss(item.flag) + '">' + CommUtil.setDefValue(item.flag, "") + '</span></td>');
            trHtml.append('<td>' + CommUtil.setDefValue(item.remarks, "") + '</td>');
            trHtml.append('<td>' + DateUtil.strToSimpleStr(item.createTime) + '</td>');
            trHtml.append('</tr>');

        }
    }else {
        trHtml.append('<tr>');
        trHtml.append('<td colspan="5" style="text-align: center;">没有找到相关数据</td>');
        trHtml.append('</tr>');
    }
    $("#processRecordTableTbody").html(trHtml.toString());
}